﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core;
using COFE.Core.Lister;

namespace COFE.Core
{
    /// <summary>
    /// Implements by FileInfoExA, provide internal use methods and properties.
    /// </summary>
    public interface IInternalFileInfoExA : IFileInfo, IInternalFileSystemInfoExA
    {
        /// <summary>
        /// Return the responsible StreamProvider for the current entries, which return Stream of a file.
        /// </summary>
        IStreamProvider StreamProvider { get; }
        
        /// <summary>
        /// If Parent is not FileSystem, when a file is modified, it have to be copied back to parent.
        /// </summary>
        void UpdateSource();
    }
}
